﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Entity.DTO
{
   public  class PB_JobBookingDTOquery
    {

        public String Id { get; set; }

        /// <summary>
        /// 主表ID（PB_ProductionOrderDetail）
        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// 报工数量
        /// </summary>
        public Int32? Nums { get; set; }

        /// <summary>
        /// 合格数量
        /// </summary>
        public Int32? ReturnNums { get; set; }

        /// <summary>
        /// 处置方式
        /// </summary>
        public String TreatmentType { get; set; }

        /// <summary>
        /// 不合格原因
        /// </summary>
        public String Reason { get; set; }

        /// <summary>
        /// 组织ID
        /// </summary>
        public String DeptId { get; set; }

        /// <summary>
        /// 设备编号
        /// </summary>
        public String DeviceId { get; set; }

        /// <summary>
        /// 报工人Id
        /// </summary>
        public String ReportUserId { get; set; }

        /// <summary>
        /// 报工人姓名
        /// </summary>
        public String ReportUserName { get; set; }

        /// <summary>
        /// 报工时间
        /// </summary>
        public DateTime? ReportTime { get; set; }

        /// <summary>
        /// 质检人Id
        /// </summary>
        public String QualityUserId { get; set; }

        /// <summary>
        /// 质检人姓名
        /// </summary>
        public String QualityUserName { get; set; }

        /// <summary>
        /// 质检时间
        /// </summary>
        public DateTime? QualityTime { get; set; }

        /// <summary>
        /// 统计人Id
        /// </summary>
        public String StatisticsUserId { get; set; }

        /// <summary>
        /// 统计人姓名
        /// </summary>
        public String StatisticsUserName { get; set; }

        /// <summary>
        /// 统计时间
        /// </summary>
        public DateTime? StatisticsTime { get; set; }

        /// <summary>
        /// 统计数量
        /// </summary>
        public Int32? StatisticsNums { get; set; }

        /// <summary>
        /// 接手人Id
        /// </summary>
        public String TakeOverUserId { get; set; }

        /// <summary>
        /// 接手人姓名
        /// </summary>
        public String TakeOverUserName { get; set; }

        /// <summary>
        /// 接手时间
        /// </summary>
        public DateTime? TakeOverTime { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public String CreatorRealName { get; set; }

        /// <summary>
        /// 状态：0=待质检；1=已质检；2=计数
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean Deleted { get; set; }
        /// <summary>
        /// 用户二维码信息
        /// </summary>
        public string  userqrcode { get; set; }
        /// <summary>
        /// 设备二维码信息
        /// </summary>
        public string deviceqrcode { get; set; }

        /// <summary>
        /// 物料id
        /// </summary>
        public string MaterialId { get; set; }

        /// <summary>
        /// 物料Name
        /// </summary>
        public string MaterialName { get; set; }

        /// <summary>
        /// 车间Id
        /// </summary>
        public string WorkshopId { get; set; }

        /// <summary>
        /// 任务类型：0-翻新；1-新制
        /// </summary>
        public int? IsRefurbishment { get; set; }
    }
}
